package com.jl.smartcard.ui.preferences;

import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
import org.eclipse.jface.preference.IPreferenceStore;

import com.jl.smartcard.ui.ActivatorUI;

/**
 * Class used to initialize default preference values.
 */
public class PreferenceInitializer extends AbstractPreferenceInitializer {

	@Override
	public void initializeDefaultPreferences() {
		IPreferenceStore store = ActivatorUI.getDefault().getPreferenceStore();
		// store.setDefault(PreferenceConstants.P_BOOLEAN, true);
		store.setDefault(SmartcardPrefConstants.P_CHOICE_SEARCH_RANGE, "default");
		store.setDefault(SmartcardPrefConstants.P_STRING_INPUT_RANGE,
				"default,0x0000-0x00FF,0x3000-0x30FF");
	}

}
